#include "SVectorTypeDescriptor.h"

std::string SVectorTypeDescriptor::GetFullyQualifiedItemTypeName()
{
	if ( Utility::IsSimpleType(itemType) )
	{
		return Utility::GetTypeName( itemType );
	}

	return itemTypeDescriptor->GetFullyQualifiedName();
}

SVectorTypeDescriptorSp SVectorTypeDescriptor::Create( string pluginName, string name, string description, SType itemType )
{
	return SVectorTypeDescriptorSp( new SVectorTypeDescriptor(pluginName, name, description, itemType) );
}

SVectorTypeDescriptorSp SVectorTypeDescriptor::Create( string pluginName, string name, string description, TypeDescriptorSp itemTypeDescriptor )
{
	return SVectorTypeDescriptorSp( new SVectorTypeDescriptor(pluginName, name, description, itemTypeDescriptor) );
}